package com.gsx.service;

import com.gsx.entity.Blog_Type_User;
import com.gsx.entity.Tag;

import java.util.List;

public interface TagService {
    public int saveTag(Tag tag);

    public Tag getTag(Long id);

    public List<Tag> getAllTag(int page, int size);

    public int updateTag(Tag tag);

    public int deleteTag(Long id);

    public Tag getTagByName(String name);

    public List<Tag> getAll();

    public int bt_idInsert(Long blog_id,String name);

    public int delBlog_tag(Long blog_id);

    public List<Tag> getBlog_tag(Long blog_id);

    public List<Blog_Type_User> getBlog_Tags(Long tag_id);
}
